package org.balthie.demo.jdk.util.concurrent.future;

import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import java.util.concurrent.ThreadPoolExecutor;

public class ThreadExecutorDemo
{
    ThreadPoolExecutor executor;
    
    List<Future<Integer>> resultList = new ArrayList<Future<Integer>>();
    
    public ThreadExecutorDemo()
    {
        super();
        this.executor = (ThreadPoolExecutor) Executors.newFixedThreadPool(2);
    }
    
}
